package cn.wolfcode.luowowo.util;

import org.springframework.lang.Nullable;
import org.springframework.util.StringUtils;

public class AssertUtil {
    public static void hasLength(String text, String message) {
        if (!StringUtils.hasLength(text)) {
            throw new LogicException(message);
        }
    }
}
